home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / gfx / 3d / IIB10.lha / IIB / Threads / rays_in_render < prev    next >
Encoding:
Internet Message Format  |  1998-02-17  |  1.7 KB

  1. Date:         Sun, 7 Dec 1997 03:12:59 +0400
  2. From: Charles Blaquiere <blaq@INTERLOG.COM>
  3. Subject:      Re: [IML] quest: chat about rays
  4.  
  5. LOPOLO wrote:
  6. >
  7. > Id like ask if someone knows how namy rays is Imagine counting for 640x512
  8. > picture for example. Is it same number like pixels of picture?
  9.  
  10. Greetings to the Czech Republic! Here is the way I understand Imagine's
  11. ray tracing.
  12.  
  13. I believe Imagine initially traces one light ray per pixel, backwards
  14. from the camera as you know. Whenever the ray hits an object face that
  15. is partially reflective, the ray splits into two rays, one that bounces
  16. off the object and one that continues along the original path. Each of
  17. these rays could then hit other objects that may cause more rays to be
  18. computed. This means more than one ray per pixel could be computed,
  19. depending on your objects.
  20.  
  21. However, Imagine can also launch more than one initial ray per pixel;
  22. this is done when anti-aliasing. Pixels that vary from their neighbors
  23. by more than X brightness levels, where X is the value of the
  24. "threshold" slider (from 0 to 255), will be selected by Imagine for
  25. anti-aliasing. For those pixels, Imagine will trace more than one
  26. initial ray per pixel, sending multiple rays in slightly different
  27. directions, to cover sub-areas of the pixel that would be missed if only
  28. one ray were traced. The number of additional initial rays is controlled
  29. by the "ray limit", from 0 (left edge of the slider) to 255.
  30.  
  31. This means that, for pixels where anti-aliasing must be performed,
  32. Imagine will start with 1 to 256 rays. Supposing there are no reflective
  33. objects in the scene, in a 640x512 render containing 327,680 pixels,
  34. Imagine could trace between 327,680 and 83,886,080 rays. Is this the
  35. answer you were looking for?
  36.